#! /usr/bin/env python
# -*- coding: utf-8 -*-

#  Copyright (c) Huoty - All rights reserved
#  Author: Huoty <sudohuoty@gmail.com>
#  CreateTime: 2016-12-10 17:46:46

from __future__ import print_function

class Abc(object):
    name = "xxx"

    def set_name(self, name):
        self.name = name

# Script starts from here

if __name__ == "__main__":
    a = Abc()
    b = Abc()
    c = Abc()

    print(a.name)
    print(b.name)
    print(c.name)
    print(Abc.name)

    a.set_name("zhangsan")
    b.set_name("lisi")
    c.set_name("wangwu")

    print("-----------------------------")
    print(a.name)
    print(b.name)
    print(c.name)
    print(Abc.name)
